import { useAppSelector } from '../hooks'
import { selectAccessToken } from '../store/reducers/selectors'

export const useSkipAccessToken = () => {
	const accessToken = useAppSelector(selectAccessToken)
	return { skip: accessToken === '' }
}
